home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / JAVA_ALL / JDBC / JDBC_TES / JDBCTEST.INI < prev   
Encoding:
INI File  |  1996-10-18  |  5.0 KB  |  181 lines

  1. ; -- NOTE --
  2. ;It is expected that JDBCTestWin is executed in the top level test 
  3. ;directory. It expects to find this file named JDBCTestWin.ini which 
  4. ;contains the directives which control the test session. 
  5.  
  6.  
  7. [Driver Options]
  8. ;Set this to ON if you want full JDBC DriverManager tracing enabled.
  9. DriverManagerLog = OFF 
  10.  
  11. ;This sets the java.sql.Driver class to be tested
  12. Drivers = sun.jdbc.odbc.JdbcOdbcDriver
  13.  
  14. [Resources]
  15. ;in this section put the path of resource files
  16. ; Some tests are database dependent; they use SQL which has been 
  17. ; stored in a resource file so that it can be easily changed 
  18. : for each DBMS
  19.  
  20. ;The resources for the example tests
  21. ;Path=example-resources
  22.  
  23. ;The resources provided with the test suite.
  24. ;Path=sqlserver-resources
  25. ;Path=sybase-resources
  26. Path=oracle-resources
  27.  
  28. [TestModules]
  29. ;in this section list the test modules you want to execute
  30. ; moduleid = description 
  31. connection.NativeSQL
  32. connection.TransactionIsolation
  33. connection.Catalog
  34. connection.DisableAutoCommit
  35. connection.IsClosed
  36. connection.ReadOnly
  37. connection.Warning
  38. connection.RetainedResultSet
  39. connection.RetainedStatement
  40.  
  41. rsmetadata.RSMeta = Result Set Meta Data
  42.  
  43. resultSet.Next
  44. resultSet.Close
  45. resultSet.GetXXX
  46. resultSet.GetStream
  47. resultSet.GetObject
  48. resultSet.GetXXXNamed
  49. resultSet.GetStreamNamed
  50. resultSet.GetObjectNamed
  51. resultSet.Null = wasNull() test
  52. resultSet.GetCursor
  53. resultSet.GetLongs = large char and large binary value test
  54.  
  55.  
  56. ;The data.Drop, data.CreateTables and data.CreateProcedures tests 
  57. ;just run the SQL in their ini files. 
  58. ;
  59. ;NOTE - you must set your Resources path above to a directory that 
  60. ;contains the ini files for these tests in the correct syntax for 
  61. ;your DBMS.
  62. ;
  63. ;The following tests rely on the tables and procedures created by them. 
  64. ;They won't run correctly if these do not exist.
  65.  
  66. data.Drop = Drop Test Tables and Procedures
  67. data.CreateTables = Create Test Tables
  68. data.CreateProcedures = Create Test Procedures
  69.  
  70. dbmetadata.DBInfo = Functions that provide info about the DBMS
  71. dbmetadata.Supported = Supported Features Test
  72. dbmetadata.Limits = Test Various DBMS and Driver Limitations
  73. dbmetadata.GetSchemas = Test Schema and Catalog Metadata
  74. dbmetadata.GetTables = Test Table Metadata
  75. dbmetadata.GetColumns = Test Column Metadata
  76. dbmetadata.GetProcedures = Test Procedure Metadata
  77. dbmetadata.Keys = Test Key Metadata
  78. dbmetadata.Conversions = Test Data Type Conversions
  79.  
  80. statement.cancel
  81. statement.clearWarnings
  82. statement.executeQuery
  83. statement.executeUpdate
  84.  
  85. ;This test uses multiple SQL statements terminated with ';' to generate 
  86. ;multiple results. It only works on some systems.
  87. ;statement.getMoreResults
  88.  
  89. statement.getResultSet
  90. statement.getUpdateCount
  91. statement.getWarnings
  92. statement.setEscapeProcessing
  93. statement.setMaxFieldSize
  94. statement.setMaxRows
  95. statement.setQueryTimeout
  96.  
  97. preparedStatement.cancel
  98. preparedStatement.clearParameters
  99. preparedStatement.clearWarnings
  100. preparedStatement.executeQuery
  101. preparedStatement.executeUpdate
  102. preparedStatement.getResultSet
  103. preparedStatement.getUpdateCount
  104. preparedStatement.getWarnings
  105. preparedStatement.setAsciiStream
  106. preparedStatement.setBinaryStream
  107. preparedStatement.setBoolean
  108. preparedStatement.setByte
  109. preparedStatement.setBytes
  110. preparedStatement.setDate
  111. preparedStatement.setDouble
  112.  
  113. ; There is a semantic problem with the PreparedStatement.setEscapeProcessing 
  114. ; method. Until this is resolved this test should not be used.
  115. ;preparedStatement.setEscapeProcessing
  116.  
  117. preparedStatement.setFloat
  118. preparedStatement.setInt
  119. preparedStatement.setLong
  120. preparedStatement.setMaxFieldSize
  121. preparedStatement.setMaxRows
  122. preparedStatement.setNull
  123. preparedStatement.setBignum
  124. preparedStatement.setObject
  125. preparedStatement.setQueryTimeout
  126. preparedStatement.setShort
  127. preparedStatement.setString
  128. preparedStatement.setTime
  129. preparedStatement.setTimestamp
  130. preparedStatement.setUnicodeStream
  131.  
  132. callableStatement.getBoolean
  133. callableStatement.getByte  
  134. callableStatement.getBytes  
  135. callableStatement.getDate 
  136. callableStatement.getDouble 
  137. callableStatement.getFloat  
  138. callableStatement.getInt    
  139. callableStatement.getLong   
  140. callableStatement.getBignum 
  141. callableStatement.getObject 
  142. callableStatement.getShort  
  143. callableStatement.getString 
  144. callableStatement.getTime 
  145. callableStatement.getTimestamp 
  146. callableStatement.wasNull    
  147. callableStatement.setBoolean
  148. callableStatement.setByte
  149. callableStatement.setBytes
  150. callableStatement.setDate
  151. callableStatement.setDouble
  152. callableStatement.setFloat
  153. callableStatement.setInt
  154. callableStatement.setLong
  155. callableStatement.setNull
  156. callableStatement.setBignum
  157. callableStatement.setObject
  158. callableStatement.setShort
  159. callableStatement.setString
  160. callableStatement.setTime
  161. callableStatement.setTimestamp
  162.  
  163. data.Drop = Drop Test Tables and Procedures
  164.  
  165.  
  166. ;The example tests
  167. ;example.Drop = Drop Test Tables and Procedures
  168. ;example.CreateTables = Create Test Tables
  169. ;example.CreateProcedures = Create Test Procedures
  170. ;example.getString = an example test
  171.  
  172.  
  173. [Log Files]
  174. ;in this section put the names of log files
  175.  
  176. ;The pass-fail log is a brief log of the test session.
  177. passfail = passfail.log
  178.  
  179. ;The output log is a more detailed log of the test session.
  180. output = test.log
  181.